
var maxDeepth = (root) => {
  if(!root) return 0
  let left = maxDeepth(root.left)
  let right = maxDeepth(root.right)
  return Math.max(left,right) + 1
}